import { createApp } from 'vue';
import App from './App.vue';
import router from './router';
import installElementPlus from './plugins/element';
import '@/styles/index.scss';
import { createPinia } from 'pinia';
import setupIcons from './icons';
import '@/permission';
import * as ElementPlusIconsVue from '@element-plus/icons-vue';
const app = createApp(App);
installElementPlus(app);
setupIcons(app);
app.use(router).use(createPinia()).mount('#app');
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
    app.component(key, component);
}
